package com.aloha.auth.support;

import org.springframework.web.method.HandlerMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 权限校验器
 *
 * @author zhdai
 * @date 2023/11/10 14:13
 */
public interface AuthValidator {

    boolean validate(HttpServletRequest request, HttpServletResponse response, HandlerMethod handler);

}
